<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>添加部门</title>
        <link rel='stylesheet'
              href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css'>
    </head>
    <body>
        <div class="pt-5">
            <h1 class="text-center">添加部门</h1>
            <div class="container">
                <div class="row">
                    <div class="col-md-5 mx-auto">
                        <div class="card card-body">
                            <form id="submitForm" action="${pageContext.request.contextPath}/dept/add" method="post"
                                  data-parsley-validate=""
                                  data-parsley-errors-messages-disabled="true" novalidate="" _lpchecked="1"><input
                                    type="hidden" name="_csrf" value="7635eb83-1f95-4b32-8788-abec2724a9a4">
                                <div class="form-group required">
                                    <lSabel for="username">部门编号</lSabel>
                                    <input type="text" class="form-control text-lowercase" id="deptno" required=""
                                           name="deptno" value="">
                                </div>
                                <div class="form-group required">
                                    <lSabel for="username">部门名称</lSabel>
                                    <input type="text" class="form-control" required="" id="dname" name="dname"
                                           value="">
                                </div>
                                <div class="form-group required">
                                    <lSabel for="username">部门位置</lSabel>
                                    <input type="text" class="form-control" required="" id="loc" name="loc"
                                           value="">
                                </div>
                                <div class="form-group pt-1">
                                    <button class="btn btn-primary btn-block" type="submit">保存</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>
